package com.smi;

import com.smi.service.Memory;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;

/**
 *
 *
 */
public class App extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception {
        Parent root = FXMLLoader.load(getClass().getClassLoader().getResource("sample.fxml"));

        System.out.println(Memory.CONF[1]);
        primaryStage.setTitle("黑铁大魔王");
        primaryStage.getIcons().add(new Image("file:icon.png"));

        primaryStage.setScene(new Scene(root, 700, 750));
        primaryStage.show();
    }


    public static void main(String[] args) {
        launch(args);
    }
}
